package com.share.hope.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.hope.entity.PostsInfo;
import com.share.hope.entity.page.PageQueryVo;
import com.share.hope.entity.result.PageR;
import com.share.hope.entity.result.R;
import com.share.hope.vo.PostsPageQueryVo;

public interface PostsInfoService extends IService<PostsInfo> {

    R<String> createPostsInfo(PostsInfo postsInfo);

    R<String> updatePostsInfo(PostsInfo postsInfo);

    R<String> deletePostsInfo(Long id);

    R<PageR<PostsInfo>> pagePostsInfo(PageQueryVo<PostsPageQueryVo> queryVo);
}
